setType ( class in module jsPlumbUIComponent )

Description

This function sets a type for the given component. It replaces all existing types. For a full discussion of the concept of types, see the jsPlumb documentation.

Parameters